import 'package:dio/dio.dart';
import 'package:common/common.dart';

import '../module_registrar.dart';

class UpgradeNetworkConfig extends NetworkConfig {
  @override
  String get baseUrl =>
      UpgradeRegistrar.buildType != BuildType.Release ? "http://xxx:8080" : "http://xxxx:8080";

  @override
  int get connectTimeout => 10000;


  @override
  int get receiveTimeout => 10000;


  @override
  ResponseType get responseType => ResponseType.json;

  @override
  int get sendTimeout => 10000;
}
